package com.yylany;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import tk.mybatis.spring.annotation.MapperScan;

@SpringBootApplication
@EnableDiscoveryClient
@MapperScan(basePackages = {"com.yylany.mapper"})
@ComponentScan(basePackages = {"org.n3r.idworker", "com.yylany"})
public class WebSearchApplication {

    public static void main(String[] args) {

        SpringApplication.run(WebSearchApplication.class, args);
    }

}

